package com.jinarusha.shareprayers.Model;

import java.util.ArrayList;

import android.text.format.Time;

public abstract class AListItem {

	protected String listDataText;
	protected Time lastUpdated;

	// default constructor
	public AListItem() {
		listDataText = "";
		lastUpdated = new Time();
		lastUpdated.setToNow();

	}

	public AListItem(String datatext, ArrayList<String> sharedgrouplist,
			ArrayList<String> sharedindividuallist) {
		this();
		if (datatext != null)
			listDataText = datatext;

	}

	public String getListDataText() {
		return listDataText;
	}

	public void setListDataText(String listDataText) {
		this.listDataText = listDataText;
		lastUpdated.setToNow();
	}

}
